<template>
  <div class="home">
    <h1>Home Page</h1>
  </div>
</template>

<script>
export default {
  name: 'Home',
  methods: {
    replace(){
      this.$router.replace('/login')
    },
    goDetail(){
      this.$router.push({name: 'Detail', params: {id:1}})
    }
  }
}
</script>

<style scoped>

</style>